package com.crm.model.entity.productManager;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CustomerMemberProductExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerMemberProductExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMemberProductIdIsNull() {
            addCriterion("member_product_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdIsNotNull() {
            addCriterion("member_product_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdEqualTo(String value) {
            addCriterion("member_product_id =", value, "memberProductId");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdNotEqualTo(String value) {
            addCriterion("member_product_id <>", value, "memberProductId");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdGreaterThan(String value) {
            addCriterion("member_product_id >", value, "memberProductId");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdGreaterThanOrEqualTo(String value) {
            addCriterion("member_product_id >=", value, "memberProductId");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdLessThan(String value) {
            addCriterion("member_product_id <", value, "memberProductId");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdLessThanOrEqualTo(String value) {
            addCriterion("member_product_id <=", value, "memberProductId");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdLike(String value) {
            addCriterion("member_product_id like", value, "memberProductId");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdNotLike(String value) {
            addCriterion("member_product_id not like", value, "memberProductId");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdIn(List<String> values) {
            addCriterion("member_product_id in", values, "memberProductId");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdNotIn(List<String> values) {
            addCriterion("member_product_id not in", values, "memberProductId");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdBetween(String value1, String value2) {
            addCriterion("member_product_id between", value1, value2, "memberProductId");
            return (Criteria) this;
        }

        public Criteria andMemberProductIdNotBetween(String value1, String value2) {
            addCriterion("member_product_id not between", value1, value2, "memberProductId");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeIsNull() {
            addCriterion("member_product_code is null");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeIsNotNull() {
            addCriterion("member_product_code is not null");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeEqualTo(String value) {
            addCriterion("member_product_code =", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeNotEqualTo(String value) {
            addCriterion("member_product_code <>", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeGreaterThan(String value) {
            addCriterion("member_product_code >", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeGreaterThanOrEqualTo(String value) {
            addCriterion("member_product_code >=", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeLessThan(String value) {
            addCriterion("member_product_code <", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeLessThanOrEqualTo(String value) {
            addCriterion("member_product_code <=", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeLike(String value) {
            addCriterion("member_product_code like", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeNotLike(String value) {
            addCriterion("member_product_code not like", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeIn(List<String> values) {
            addCriterion("member_product_code in", values, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeNotIn(List<String> values) {
            addCriterion("member_product_code not in", values, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeBetween(String value1, String value2) {
            addCriterion("member_product_code between", value1, value2, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeNotBetween(String value1, String value2) {
            addCriterion("member_product_code not between", value1, value2, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameIsNull() {
            addCriterion("member_card_name is null");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameIsNotNull() {
            addCriterion("member_card_name is not null");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameEqualTo(String value) {
            addCriterion("member_card_name =", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameNotEqualTo(String value) {
            addCriterion("member_card_name <>", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameGreaterThan(String value) {
            addCriterion("member_card_name >", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameGreaterThanOrEqualTo(String value) {
            addCriterion("member_card_name >=", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameLessThan(String value) {
            addCriterion("member_card_name <", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameLessThanOrEqualTo(String value) {
            addCriterion("member_card_name <=", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameLike(String value) {
            addCriterion("member_card_name like", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameNotLike(String value) {
            addCriterion("member_card_name not like", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameIn(List<String> values) {
            addCriterion("member_card_name in", values, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameNotIn(List<String> values) {
            addCriterion("member_card_name not in", values, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameBetween(String value1, String value2) {
            addCriterion("member_card_name between", value1, value2, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameNotBetween(String value1, String value2) {
            addCriterion("member_card_name not between", value1, value2, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgIsNull() {
            addCriterion("member_card_img is null");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgIsNotNull() {
            addCriterion("member_card_img is not null");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgEqualTo(String value) {
            addCriterion("member_card_img =", value, "memberCardImg");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgNotEqualTo(String value) {
            addCriterion("member_card_img <>", value, "memberCardImg");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgGreaterThan(String value) {
            addCriterion("member_card_img >", value, "memberCardImg");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgGreaterThanOrEqualTo(String value) {
            addCriterion("member_card_img >=", value, "memberCardImg");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgLessThan(String value) {
            addCriterion("member_card_img <", value, "memberCardImg");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgLessThanOrEqualTo(String value) {
            addCriterion("member_card_img <=", value, "memberCardImg");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgLike(String value) {
            addCriterion("member_card_img like", value, "memberCardImg");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgNotLike(String value) {
            addCriterion("member_card_img not like", value, "memberCardImg");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgIn(List<String> values) {
            addCriterion("member_card_img in", values, "memberCardImg");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgNotIn(List<String> values) {
            addCriterion("member_card_img not in", values, "memberCardImg");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgBetween(String value1, String value2) {
            addCriterion("member_card_img between", value1, value2, "memberCardImg");
            return (Criteria) this;
        }

        public Criteria andMemberCardImgNotBetween(String value1, String value2) {
            addCriterion("member_card_img not between", value1, value2, "memberCardImg");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceIsNull() {
            addCriterion("selling_card_price is null");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceIsNotNull() {
            addCriterion("selling_card_price is not null");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceEqualTo(BigDecimal value) {
            addCriterion("selling_card_price =", value, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceNotEqualTo(BigDecimal value) {
            addCriterion("selling_card_price <>", value, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceGreaterThan(BigDecimal value) {
            addCriterion("selling_card_price >", value, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("selling_card_price >=", value, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceLessThan(BigDecimal value) {
            addCriterion("selling_card_price <", value, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("selling_card_price <=", value, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceIn(List<BigDecimal> values) {
            addCriterion("selling_card_price in", values, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceNotIn(List<BigDecimal> values) {
            addCriterion("selling_card_price not in", values, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("selling_card_price between", value1, value2, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("selling_card_price not between", value1, value2, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andServiceNumberIsNull() {
            addCriterion("service_number is null");
            return (Criteria) this;
        }

        public Criteria andServiceNumberIsNotNull() {
            addCriterion("service_number is not null");
            return (Criteria) this;
        }

        public Criteria andServiceNumberEqualTo(Integer value) {
            addCriterion("service_number =", value, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberNotEqualTo(Integer value) {
            addCriterion("service_number <>", value, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberGreaterThan(Integer value) {
            addCriterion("service_number >", value, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("service_number >=", value, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberLessThan(Integer value) {
            addCriterion("service_number <", value, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberLessThanOrEqualTo(Integer value) {
            addCriterion("service_number <=", value, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberIn(List<Integer> values) {
            addCriterion("service_number in", values, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberNotIn(List<Integer> values) {
            addCriterion("service_number not in", values, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberBetween(Integer value1, Integer value2) {
            addCriterion("service_number between", value1, value2, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("service_number not between", value1, value2, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityStartIsNull() {
            addCriterion("product_period_validity_start is null");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityStartIsNotNull() {
            addCriterion("product_period_validity_start is not null");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityStartEqualTo(Date value) {
            addCriterion("product_period_validity_start =", value, "productPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityStartNotEqualTo(Date value) {
            addCriterion("product_period_validity_start <>", value, "productPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityStartGreaterThan(Date value) {
            addCriterion("product_period_validity_start >", value, "productPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityStartGreaterThanOrEqualTo(Date value) {
            addCriterion("product_period_validity_start >=", value, "productPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityStartLessThan(Date value) {
            addCriterion("product_period_validity_start <", value, "productPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityStartLessThanOrEqualTo(Date value) {
            addCriterion("product_period_validity_start <=", value, "productPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityStartIn(List<Date> values) {
            addCriterion("product_period_validity_start in", values, "productPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityStartNotIn(List<Date> values) {
            addCriterion("product_period_validity_start not in", values, "productPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityStartBetween(Date value1, Date value2) {
            addCriterion("product_period_validity_start between", value1, value2, "productPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityStartNotBetween(Date value1, Date value2) {
            addCriterion("product_period_validity_start not between", value1, value2, "productPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityEndIsNull() {
            addCriterion("product_period_validity_end is null");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityEndIsNotNull() {
            addCriterion("product_period_validity_end is not null");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityEndEqualTo(Date value) {
            addCriterion("product_period_validity_end =", value, "productPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityEndNotEqualTo(Date value) {
            addCriterion("product_period_validity_end <>", value, "productPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityEndGreaterThan(Date value) {
            addCriterion("product_period_validity_end >", value, "productPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityEndGreaterThanOrEqualTo(Date value) {
            addCriterion("product_period_validity_end >=", value, "productPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityEndLessThan(Date value) {
            addCriterion("product_period_validity_end <", value, "productPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityEndLessThanOrEqualTo(Date value) {
            addCriterion("product_period_validity_end <=", value, "productPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityEndIn(List<Date> values) {
            addCriterion("product_period_validity_end in", values, "productPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityEndNotIn(List<Date> values) {
            addCriterion("product_period_validity_end not in", values, "productPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityEndBetween(Date value1, Date value2) {
            addCriterion("product_period_validity_end between", value1, value2, "productPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andProductPeriodValidityEndNotBetween(Date value1, Date value2) {
            addCriterion("product_period_validity_end not between", value1, value2, "productPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelIsNull() {
            addCriterion("product_membership_level is null");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelIsNotNull() {
            addCriterion("product_membership_level is not null");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelEqualTo(Integer value) {
            addCriterion("product_membership_level =", value, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelNotEqualTo(Integer value) {
            addCriterion("product_membership_level <>", value, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelGreaterThan(Integer value) {
            addCriterion("product_membership_level >", value, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("product_membership_level >=", value, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelLessThan(Integer value) {
            addCriterion("product_membership_level <", value, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelLessThanOrEqualTo(Integer value) {
            addCriterion("product_membership_level <=", value, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelIn(List<Integer> values) {
            addCriterion("product_membership_level in", values, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelNotIn(List<Integer> values) {
            addCriterion("product_membership_level not in", values, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelBetween(Integer value1, Integer value2) {
            addCriterion("product_membership_level between", value1, value2, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("product_membership_level not between", value1, value2, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductStatusIsNull() {
            addCriterion("product_status is null");
            return (Criteria) this;
        }

        public Criteria andProductStatusIsNotNull() {
            addCriterion("product_status is not null");
            return (Criteria) this;
        }

        public Criteria andProductStatusEqualTo(String value) {
            addCriterion("product_status =", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusNotEqualTo(String value) {
            addCriterion("product_status <>", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusGreaterThan(String value) {
            addCriterion("product_status >", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusGreaterThanOrEqualTo(String value) {
            addCriterion("product_status >=", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusLessThan(String value) {
            addCriterion("product_status <", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusLessThanOrEqualTo(String value) {
            addCriterion("product_status <=", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusLike(String value) {
            addCriterion("product_status like", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusNotLike(String value) {
            addCriterion("product_status not like", value, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusIn(List<String> values) {
            addCriterion("product_status in", values, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusNotIn(List<String> values) {
            addCriterion("product_status not in", values, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusBetween(String value1, String value2) {
            addCriterion("product_status between", value1, value2, "productStatus");
            return (Criteria) this;
        }

        public Criteria andProductStatusNotBetween(String value1, String value2) {
            addCriterion("product_status not between", value1, value2, "productStatus");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementIsNull() {
            addCriterion("whether_included_achievement is null");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementIsNotNull() {
            addCriterion("whether_included_achievement is not null");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementEqualTo(String value) {
            addCriterion("whether_included_achievement =", value, "whetherIncludedAchievement");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementNotEqualTo(String value) {
            addCriterion("whether_included_achievement <>", value, "whetherIncludedAchievement");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementGreaterThan(String value) {
            addCriterion("whether_included_achievement >", value, "whetherIncludedAchievement");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementGreaterThanOrEqualTo(String value) {
            addCriterion("whether_included_achievement >=", value, "whetherIncludedAchievement");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementLessThan(String value) {
            addCriterion("whether_included_achievement <", value, "whetherIncludedAchievement");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementLessThanOrEqualTo(String value) {
            addCriterion("whether_included_achievement <=", value, "whetherIncludedAchievement");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementLike(String value) {
            addCriterion("whether_included_achievement like", value, "whetherIncludedAchievement");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementNotLike(String value) {
            addCriterion("whether_included_achievement not like", value, "whetherIncludedAchievement");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementIn(List<String> values) {
            addCriterion("whether_included_achievement in", values, "whetherIncludedAchievement");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementNotIn(List<String> values) {
            addCriterion("whether_included_achievement not in", values, "whetherIncludedAchievement");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementBetween(String value1, String value2) {
            addCriterion("whether_included_achievement between", value1, value2, "whetherIncludedAchievement");
            return (Criteria) this;
        }

        public Criteria andWhetherIncludedAchievementNotBetween(String value1, String value2) {
            addCriterion("whether_included_achievement not between", value1, value2, "whetherIncludedAchievement");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewIsNull() {
            addCriterion("whether_renew is null");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewIsNotNull() {
            addCriterion("whether_renew is not null");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewEqualTo(String value) {
            addCriterion("whether_renew =", value, "whetherRenew");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewNotEqualTo(String value) {
            addCriterion("whether_renew <>", value, "whetherRenew");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewGreaterThan(String value) {
            addCriterion("whether_renew >", value, "whetherRenew");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewGreaterThanOrEqualTo(String value) {
            addCriterion("whether_renew >=", value, "whetherRenew");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewLessThan(String value) {
            addCriterion("whether_renew <", value, "whetherRenew");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewLessThanOrEqualTo(String value) {
            addCriterion("whether_renew <=", value, "whetherRenew");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewLike(String value) {
            addCriterion("whether_renew like", value, "whetherRenew");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewNotLike(String value) {
            addCriterion("whether_renew not like", value, "whetherRenew");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewIn(List<String> values) {
            addCriterion("whether_renew in", values, "whetherRenew");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewNotIn(List<String> values) {
            addCriterion("whether_renew not in", values, "whetherRenew");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewBetween(String value1, String value2) {
            addCriterion("whether_renew between", value1, value2, "whetherRenew");
            return (Criteria) this;
        }

        public Criteria andWhetherRenewNotBetween(String value1, String value2) {
            addCriterion("whether_renew not between", value1, value2, "whetherRenew");
            return (Criteria) this;
        }

        public Criteria andPerformanceConversionRatioIsNull() {
            addCriterion("performance_conversion_ratio is null");
            return (Criteria) this;
        }

        public Criteria andPerformanceConversionRatioIsNotNull() {
            addCriterion("performance_conversion_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andPerformanceConversionRatioEqualTo(BigDecimal value) {
            addCriterion("performance_conversion_ratio =", value, "performanceConversionRatio");
            return (Criteria) this;
        }

        public Criteria andPerformanceConversionRatioNotEqualTo(BigDecimal value) {
            addCriterion("performance_conversion_ratio <>", value, "performanceConversionRatio");
            return (Criteria) this;
        }

        public Criteria andPerformanceConversionRatioGreaterThan(BigDecimal value) {
            addCriterion("performance_conversion_ratio >", value, "performanceConversionRatio");
            return (Criteria) this;
        }

        public Criteria andPerformanceConversionRatioGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("performance_conversion_ratio >=", value, "performanceConversionRatio");
            return (Criteria) this;
        }

        public Criteria andPerformanceConversionRatioLessThan(BigDecimal value) {
            addCriterion("performance_conversion_ratio <", value, "performanceConversionRatio");
            return (Criteria) this;
        }

        public Criteria andPerformanceConversionRatioLessThanOrEqualTo(BigDecimal value) {
            addCriterion("performance_conversion_ratio <=", value, "performanceConversionRatio");
            return (Criteria) this;
        }

        public Criteria andPerformanceConversionRatioIn(List<BigDecimal> values) {
            addCriterion("performance_conversion_ratio in", values, "performanceConversionRatio");
            return (Criteria) this;
        }

        public Criteria andPerformanceConversionRatioNotIn(List<BigDecimal> values) {
            addCriterion("performance_conversion_ratio not in", values, "performanceConversionRatio");
            return (Criteria) this;
        }

        public Criteria andPerformanceConversionRatioBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("performance_conversion_ratio between", value1, value2, "performanceConversionRatio");
            return (Criteria) this;
        }

        public Criteria andPerformanceConversionRatioNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("performance_conversion_ratio not between", value1, value2, "performanceConversionRatio");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Short value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Short value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Short value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Short value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Short value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Short> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Short> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Short value1, Short value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Short value1, Short value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNull() {
            addCriterion("create_people_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNotNull() {
            addCriterion("create_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdEqualTo(String value) {
            addCriterion("create_people_id =", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotEqualTo(String value) {
            addCriterion("create_people_id <>", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThan(String value) {
            addCriterion("create_people_id >", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_people_id >=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThan(String value) {
            addCriterion("create_people_id <", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("create_people_id <=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLike(String value) {
            addCriterion("create_people_id like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotLike(String value) {
            addCriterion("create_people_id not like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIn(List<String> values) {
            addCriterion("create_people_id in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotIn(List<String> values) {
            addCriterion("create_people_id not in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdBetween(String value1, String value2) {
            addCriterion("create_people_id between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("create_people_id not between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNull() {
            addCriterion("update_people_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNotNull() {
            addCriterion("update_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdEqualTo(String value) {
            addCriterion("update_people_id =", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotEqualTo(String value) {
            addCriterion("update_people_id <>", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThan(String value) {
            addCriterion("update_people_id >", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_people_id >=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThan(String value) {
            addCriterion("update_people_id <", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("update_people_id <=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLike(String value) {
            addCriterion("update_people_id like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotLike(String value) {
            addCriterion("update_people_id not like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIn(List<String> values) {
            addCriterion("update_people_id in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotIn(List<String> values) {
            addCriterion("update_people_id not in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdBetween(String value1, String value2) {
            addCriterion("update_people_id between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("update_people_id not between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}